//
//  ZKTransitionTestDemoVC.m
//  朱凯的工具箱
//
//  Created by pro on 17/5/12.
//  Copyright © 2017年 zhukai. All rights reserved.
//

#import "ZKTransitionTestDemoVC.h"

#import "ZKTransitionTestDemoSecondVC.h"


#import "UIViewController+ZKViewControllerTransition.h"

@interface ZKTransitionTestDemoVC ()

@end

@implementation ZKTransitionTestDemoVC

- (void)viewDidLoad {
    [super viewDidLoad];

    self.view.backgroundColor = [UIColor orangeColor];
    
    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
    [button setFrame:CGRectMake(100, 100, 100, 100)];
    [button setBackgroundColor:[UIColor blackColor]];
    [button setTitle:@"跳转" forState:UIControlStateNormal];
    [button setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
    [button addTarget:self action:@selector(tap) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:button];
}

- (void)tap {
    
    
    ZKTransitionTestDemoSecondVC *vc = [ZKTransitionTestDemoSecondVC new];
    
    [self push:vc];
}



@end
